﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="~/UserControls/ucGridViewFileLists.ascx" TagPrefix="Kerry" TagName="ucGridViewFileLists" %>


<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="Server">
  </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:GridView ID="GV_BULLETIN" runat="server" AutoGenerateColumns="False" DataKeyNames="BULLETIN_ID" DataSourceID="SDS_KRJ_BULLETIN_MASTER" OnRowDataBound="GV_BULLETIN_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="公告日期" SortExpression="START_DATE">
                <ItemTemplate>
                    <asp:Label ID="lbl_START_DATE" runat="server" Text='<%# Bind("START_DATE") %>' Visible="false" />
                    <asp:Label ID="lbl_END_DATE" runat="server" Text='<%# Bind("END_DATE") %>' Visible="false" />
                    <asp:Label ID="lbl_Date" runat="server" />
                </ItemTemplate>
                <ItemStyle Width="150px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="公告大綱">
                <ItemTemplate>
                    <asp:Label ID="lbl_BULLETIN_ID" runat="server" Text='<%# Bind("BULLETIN_ID") %>' Visible="false" />
                     大綱：<asp:HyperLink ID="HyperLink_TEXT" runat="server"/>
                    <asp:Label ID="lbl_BULLETIN_TEXT_TW" runat="server" Text='<%# Bind("BULLETIN_TEXT_TW") %>' Visible="false" />
                    <asp:Label ID="lbl_BULLETIN_SPEC_TW" runat="server" Text='<%# Bind("BULLETIN_SPEC_TW") %>' Visible="false" />
                    <asp:Label ID="lbl_BULLETIN_TEXT_GB" runat="server" Text='<%# Bind("BULLETIN_TEXT_GB") %>' Visible="false" />
                    <asp:Label ID="lbl_BULLETIN_SPEC_GB" runat="server" Text='<%# Bind("BULLETIN_SPEC_GB") %>' Visible="false" />
                    <asp:Label ID="lbl_BULLETIN_TEXT_EN" runat="server" Text='<%# Bind("BULLETIN_TEXT_EN") %>' Visible="false" />
                    <asp:Label ID="lbl_BULLETIN_SPEC_EN" runat="server" Text='<%# Bind("BULLETIN_SPEC_EN") %>' Visible="false" />
                    <%--<Kerry:ucGridViewFileLists runat="server" ID="ucGridViewFileLists" />--%>
                    <asp:PlaceHolder ID="PlaceHolder_Files" runat="server"/>
                </ItemTemplate>
            </asp:TemplateField>

            <asp:BoundField DataField="STATUS" HeaderText="STATUS" SortExpression="STATUS" Visible="False" />
            <asp:BoundField DataField="REMARK" HeaderText="REMARK" SortExpression="REMARK" Visible="False" />
            <asp:BoundField DataField="CRT_ID" HeaderText="CRT_ID" SortExpression="CRT_ID" Visible="False" />
            <asp:BoundField DataField="CRT_DATE" HeaderText="CRT_DATE" SortExpression="CRT_DATE" Visible="False" />
            <asp:BoundField DataField="CRT_TIME" HeaderText="CRT_TIME" SortExpression="CRT_TIME" Visible="False" />
            <asp:BoundField DataField="UPD_ID" HeaderText="UPD_ID" SortExpression="UPD_ID" Visible="False" />
            <asp:BoundField DataField="UPD_DATE" HeaderText="UPD_DATE" SortExpression="UPD_DATE" Visible="False" />
            <asp:BoundField DataField="UPD_TIME" HeaderText="UPD_TIME" SortExpression="UPD_TIME" Visible="False" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SDS_KRJ_BULLETIN_MASTER" runat="server"
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
        SelectCommand="SELECT * FROM KRJ_BULLETIN_MASTER"></asp:SqlDataSource>
    <asp:Button ID="btn_More" runat="server" Text="更多公告" OnClick="btn_More_Click" Visible="False" />
</asp:Content>

